CC = gcc
RM = /bin/rm
CFLAGS = -Wall
all: cw

cw: cw.c
	${CC} ${CFLAGS} -pg -o cw cw.c

run:
	${RM} -f /tmp/ficTest*
	/usr/bin/time /mci/ei0912/lafontai/workspace/ASR/CSC4508/HP1/CmpW/cw
	gprof cw > resultat.txt

clean:
	${RM} -f *~ *.bak *.tmp \
	         *.o *.s \
	         gmon.out resultat.txt /tmp/ficTest*

cleanall: clean
	${RM} -f cw

